function getTemplateData(main)


%% GUI Lecture

    filterType = get(main.handles.menu_filterType, 'Value');
    wp = str2double(get(main.handles.txt_wp,'String'));
    wa = str2double(get(main.handles.txt_wa,'String'));
    wpMAS = str2double(get(main.handles.txt_wpMAS,'String'));
    wpMENOS = str2double(get(main.handles.txt_wpMENOS,'String'));
    waMAS = str2double(get(main.handles.txt_waMAS,'String'));
    waMENOS = str2double(get(main.handles.txt_waMENOS,'String'));
    wdes = str2double(get(main.handles.txt_wdes,'String'));
    aa = str2double(get(main.handles.txt_aa,'String'));
    ap = str2double(get(main.handles.txt_ap,'String'));
    
%% Hz to Rad (If needed)

            if strcmp(get(get(main.handles.radioGroup_units,'SelectedObject'),'Tag'), 'radio_hertz')
               wp = wp *2*pi;
               wa = wa *2*pi;
               waMAS = waMAS *2*pi;
               waMENOS = waMENOS *2*pi;
               wpMAS = wpMAS *2*pi;
               wpMENOS = wpMENOS *2*pi;
            end
%%
    main.template.filterType = filterType;
    main.template.wp = wp;
    main.template.wa = wa;
    main.template.wpMAS = wpMAS;
    main.template.wpMENOS = wpMENOS;
    main.template.waMAS = waMAS;
    main.template.waMENOS = waMENOS;
    main.template.wdes = wdes;
    main.template.aa = aa;
    main.template.ap = ap;

end